{include file="header.tpl" title=" "}
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="14%"><input name="button" type="button" class="button_style" onclick="history.back();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" value="{$ten_trove}" /></td>
<td align="right" nowrap="nowrap"><select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
  
 {foreach from=$chuyentrang key=k item=v}
      
  <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
  
 	{/foreach}

</select>
  <input name="chuyentrang" type="submit" value="{$ten_thuc_hien}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
  <tr>
    <td nowrap="nowrap">{$lbl_SEQNO}</td>
    <td ><input name="SEQNO" id="SEQNO" type="text" value="{$SEQNO}" size="20" maxlength="10" style="background-color:{$colorSEQNO}; text-align:right" onkeypress="return numberOnly(event);" {if $activefield eq 'enabled' } readonly="readonly" {/if}/>
      <input id="replacement_find" type="submit" name="find" value="    "  height="15"/></td>
    </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_OLDBRN}</td>
    <td ><span style="color:#FF0000">
      <input name="OLDBRN" id="OLDBRN" type="text" style="background:{$colorOLDBRN}" value="{$OLDBRN}" size="20" maxlength="3" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');document.getElementById('findOLDBRN').click();" onkeypress="return numberOnly(event);" onchange="document.getElementById('findOLDBRN').click();" />
    </span><span style="color:#FF0000">
      <input type="button" onclick="mywindow = window.open('par_lstdepttobrn_id.php?name=OLDBRN', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd" id="replacement_binoculars" value="     " />
      </span>
      <input type="submit" name="findOLDBRN" id="findOLDBRN" style="visibility:hidden"/></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_DEPTCD}</td>
    <td  ><select name="DEPTCD"  id="DEPTCD"  size="1" style="background:{$colorDEPTCD}">
      <option value=""/></option>
      </option>
        		
 		{foreach from=$cbo_DEPTCD key=k item=v}
        
      <option value="{$k}" {if $DEPTCD eq $k} selected="selected" {/if}>{$k} - {$v}</option>
      
 		{/foreach}
      
    </select></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_NEWBRN}</td>
    <td  ><span style="color:#FF0000">
      <input name="NEWBRN" id="NEWBRN" type="text" style="background:{$colorNEWBRN}" value="{$NEWBRN}" size="20" maxlength="3" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');document.getElementById('findNEWBRN').click();" onkeypress="return numberOnly(event);" onchange="document.getElementById('findNEWBRN').click();"/>
    </span><span style="color:#FF0000">
      <input type="button" onclick="mywindow = window.open('par_lstdepttobrn_id.php?name=NEWBRN', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd2" id="replacement_binoculars" value="     " />
      </span>
      <input type="submit" name="findNEWBRN" id="findNEWBRN" style="visibility:hidden" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_NEWDEPT}</td>
    <td  ><select name="NEWDEPT"  id="NEWDEPT"  size="1" style="background:{$colorNEWDEPT}" >
      <option value=""/></option>
           		
 		{foreach from=$cbo_NEWDEPT key=k item=v}     
      
      <option value="{$k}" {if $NEWDEPT eq $k} selected="selected" {/if}>{$k} - {$v}</option>
         
 		{/foreach}  
    
    </select></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_REMARK}</td>
    <td  ><input name="REMARK" id="REMARK" type="text" value="{$REMARK}" size="50" maxlength="200" style="background-color:{$colorREMARK};"></td>
  </tr>  
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
 
  <tr>
    <td colspan="2" align="right" nowrap="nowrap"><div align="left">
      <input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" onclick="mywindow = window.open('lich_su_par_lstdepttobrn.php?SEQNO={$SEQNO}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" />
    </div></td>
    </tr>
  <tr>
    <td align="right" nowrap="nowrap"><div align="left">
      <input name="button2" type="button" class="button_style" onclick="history.back();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" value="{$ten_trove}" />
    </div></td>
    <td align="right" nowrap="nowrap"><input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'SEQNO');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
  </tr>
  <tr>
<td colspan="2" align="right" nowrap="nowrap"><select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
  
  {foreach from=$chuyentrang key=k item=v}
      
  <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
  
 	{/foreach}

</select>
  <input name="chuyentrang1" type="submit" value="{$ten_thuc_hien}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
  </tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
